#!/usr/bin/python
# -*- coding: utf-8 -*-
# @version        : 1.0
# @Create Time    : 2024/9/6 11:11
# @File           : vendor
# @IDE            : PyCharm
# @desc           : 描述


from fastapi import Depends
from core.dependencies import Paging, QueryParams


class QARParams(QueryParams):
    """
    列表分页
    """

    def __init__(
            self,
            params: Paging = Depends(),
            qar_no: str = None,
            part_no: str = None,
            part_type: str = None,
            status: str = None,
            product_type: str = None,
            purchase_order: str = None,
            temper: str = None,
            spec_stan: str = None,
            zpm_cpm: str = None,
            size: str = None,
            quantity_weight: str = None
    ):
        super().__init__(params)
        self.qar_no = qar_no
        self.part_no = part_no
        self.part_type = part_type
        self.status = status
        self.product_type = product_type
        self.purchase_order = purchase_order
        self.temper = temper
        self.spec_stan = spec_stan
        self.zpm_cpm = zpm_cpm
        self.size = size
        self.quantity_weight = quantity_weight
